package com.heihei.entity.localres;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.File;

@Data
@EqualsAndHashCode
public class LocalResEntity {

    @ApiModelProperty(value = "url绝对路径")
    private String urlAbsPath;

    @ApiModelProperty(value = "当前文件/文件夹名称 ")
    private String name;

    @ApiModelProperty(value = "1 文件夹，  2 视频，  3 图片， 4 其他文件")
    private Integer fileTypeFlag;

    @ApiModelProperty(value = "文件类型描述")
    private String fileTypeDescription;

    @ApiModelProperty(value = "文件类型对应前端icon")
    private String fileTypeIconKey;

    @ApiModelProperty(value = "文件大小")
    private Long fileSize;

//    @ApiModelProperty(value = "文件详情")
//    private File fileInfo;
}
